package com.cmcc.cmii.smsim.rest;

/*
import org.springframework.stereotype.Controller;
import org.yeauty.annotation.OnOpen;
import org.yeauty.annotation.PathVariable;
import org.yeauty.annotation.ServerEndpoint;
import org.yeauty.pojo.Session;


*/
/**
 * @author Thanks
 *//*

@Controller
@ServerEndpoint(port = "${spring.netty-websocket.port}",path = "/websocket/{userId}")
public class WebSocketServer {


    @OnOpen
    public void onOpen(Session session, @PathVariable(value = "userId")String userId){
        System.out.println("**********接收到连接参数*************"+userId);
    }
}
*/
